/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upn.sigemfi.rec.bc;

import edu.upn.sigemfi.rec.be.Credito;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Diego
 */
@Local
public interface CreditoFacadeLocal {

    void create(Credito credito);

    void edit(Credito credito);

    void remove(Credito credito);

    Credito find(Object id);

    List<Credito> findAll();


    public List<Credito> findAllVigentes();

    public List<Credito> findAllVencidos();

    public List<Credito> findAllPrejudiciales();

    public List<Credito> findAllJudiciales();

    public List<Credito> findAllCastigados();

    public List<Credito> findAllRefinanciados();

    public List<Credito> findAllCancelados();

}
